package com.qf.boot2202.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Component
@Data
//@ConfigurationProperties(prefix = "mycar")
public class MyCarProperty {

    private String brand;

    private Integer price;

}
